<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="main-nav.css">
    <title>导航栏</title>
</head>
<body>
    <!-- example one :horizontal nav 水平导航栏 -->
    <div class="horizontal-nav">
        <ul>
           <li><a href="#home">主页</a></li>
           <li><a href="#news">新闻</a></li>
           <li><a href="#contact">联系</a></li>
           <li><a href="#about">关于</a></li>
        </ul>
    </div>

</body>
</html>